export const win = window as any

export const { PI: π, abs, sin, cos, max, min, exp, sqrt, round, ceil } = Math

export const tof = <True extends any, False extends any>(
	condition: any,
	trueState: True,
	falseState: False
) => (condition ? trueState : falseState)
